<div class="modules form">
<?php echo $this->Form->create('Module'); ?>
	<fieldset>
		<legend><?php echo __('Editar Módulo'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('title', array('label'=>'Nombre'));
		echo $this->Form->input('description', array('label'=>'Descripción'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Guardar')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Acciones'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Eliminar'), array('action' => 'delete', $this->Form->value('Module.id')), null, __('¿Está seguro que desea eliminar el módulo %s?', $this->Form->value('Module.title'))); ?></li>
		<li><?php echo $this->Html->link(__('Listar Módulo'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('Listar Niveles'), array('controller' => 'levels', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nuevo Nivel'), array('controller' => 'levels', 'action' => 'add')); ?> </li>
	</ul>
</div>
